package com.rzl.expense.expense.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rzl.expense.common.annotation.Excel;
import com.rzl.expense.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 报账点资源关联对象 ele_billaccountbaseresource
 * 
 * @author expense
 * @date 2024-11-22
 */
public class EleBillaccountbaseresource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String billaccountbaseresourceId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String billaccountId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String baseresourceId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long relationState;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date relationStartdate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date relationEnddate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String belongDept;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String prvId;

    /** 创建人Id */
    @Excel(name = "创建人Id")
    private String createUserId;

    /** 最后一次修改人Id */
    @Excel(name = "最后一次修改人Id")
    private String updateUserId;

    /** 最后更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastModifyTime;

    /** 资源业务类型 */
    @Excel(name = "资源业务类型")
    private Long onServiceSiteType;

    /** 资源状态1：在网 2：工程 3：退网 */
    @Excel(name = "资源状态1：在网 2：工程 3：退网")
    private Long onBaseresourceState;

    /** 1:展示该记录 */
    @Excel(name = "1:展示该记录")
    private String isShow;

    public void setBillaccountbaseresourceId(String billaccountbaseresourceId) 
    {
        this.billaccountbaseresourceId = billaccountbaseresourceId;
    }

    public String getBillaccountbaseresourceId() 
    {
        return billaccountbaseresourceId;
    }
    public void setBillaccountId(String billaccountId) 
    {
        this.billaccountId = billaccountId;
    }

    public String getBillaccountId() 
    {
        return billaccountId;
    }
    public void setBaseresourceId(String baseresourceId) 
    {
        this.baseresourceId = baseresourceId;
    }

    public String getBaseresourceId() 
    {
        return baseresourceId;
    }
    public void setRelationState(Long relationState) 
    {
        this.relationState = relationState;
    }

    public Long getRelationState() 
    {
        return relationState;
    }
    public void setRelationStartdate(Date relationStartdate) 
    {
        this.relationStartdate = relationStartdate;
    }

    public Date getRelationStartdate() 
    {
        return relationStartdate;
    }
    public void setRelationEnddate(Date relationEnddate) 
    {
        this.relationEnddate = relationEnddate;
    }

    public Date getRelationEnddate() 
    {
        return relationEnddate;
    }
    public void setBelongDept(String belongDept) 
    {
        this.belongDept = belongDept;
    }

    public String getBelongDept() 
    {
        return belongDept;
    }
    public void setPrvId(String prvId) 
    {
        this.prvId = prvId;
    }

    public String getPrvId() 
    {
        return prvId;
    }
    public void setCreateUserId(String createUserId) 
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId() 
    {
        return createUserId;
    }
    public void setUpdateUserId(String updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserId() 
    {
        return updateUserId;
    }
    public void setLastModifyTime(Date lastModifyTime) 
    {
        this.lastModifyTime = lastModifyTime;
    }

    public Date getLastModifyTime() 
    {
        return lastModifyTime;
    }
    public void setOnServiceSiteType(Long onServiceSiteType) 
    {
        this.onServiceSiteType = onServiceSiteType;
    }

    public Long getOnServiceSiteType() 
    {
        return onServiceSiteType;
    }
    public void setOnBaseresourceState(Long onBaseresourceState) 
    {
        this.onBaseresourceState = onBaseresourceState;
    }

    public Long getOnBaseresourceState() 
    {
        return onBaseresourceState;
    }
    public void setIsShow(String isShow) 
    {
        this.isShow = isShow;
    }

    public String getIsShow() 
    {
        return isShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("billaccountbaseresourceId", getBillaccountbaseresourceId())
            .append("billaccountId", getBillaccountId())
            .append("baseresourceId", getBaseresourceId())
            .append("relationState", getRelationState())
            .append("relationStartdate", getRelationStartdate())
            .append("relationEnddate", getRelationEnddate())
            .append("belongDept", getBelongDept())
            .append("prvId", getPrvId())
            .append("createUserId", getCreateUserId())
            .append("createTime", getCreateTime())
            .append("updateUserId", getUpdateUserId())
            .append("updateTime", getUpdateTime())
            .append("lastModifyTime", getLastModifyTime())
            .append("onServiceSiteType", getOnServiceSiteType())
            .append("onBaseresourceState", getOnBaseresourceState())
            .append("isShow", getIsShow())
            .toString();
    }
}
